import {  Category } from './category';
export interface Product {
    "sold": number,
    "_id": string,
    "name": string,
    "description": string,
    "price": number,
    "category": Category ,
    "quantity": number,
    "shipping": boolean,
    "createdAt": string,
    "updatedAt": string ,
}

export interface ProductFilterData {
    data: Product[],
    size: number
}

export interface Price {
    id: number,
    name: string,
    array: [number?, number?]
}